<?php
	$connect = mysql_connect('localhost','root','');
	$db = mysql_select_db('oferteja');
	
	if (mysqli_connect_errno($connect)) {
		echo "Failed to connect to MySQL: ".
		mysqli_connect_error();
		}
?>